
import 'package:freezed_annotation/freezed_annotation.dart';
part 'guangdiu_item.freezed.dart';
part 'guangdiu_item.g.dart';
@freezed
class GuangDiuItem with _$GuangDiuItem {
  const factory GuangDiuItem({
    required int id,
    required String title,
    required String image,
    required int ifToBuy,
    required String buyurl,
  }) = _GuangDiuItem;
  factory GuangDiuItem.fromJson(Map<String, dynamic> json) => _$GuangDiuItemFromJson(json);
}